class HomesController < ApplicationController  
  unless logged_in?
    flash[:notice] = "Please log in first"
    redirect_to :controller=>'sessions',:action =>'new'
    return
  end
end
